{% extends "base.html" %}

{% block title %}Welcome to Django Bookmarks{% endblock %}
{% block head %}Welcome to Django Bookmarks{% endblock %}
{% block external %}
{% load bookmarks_filters %}

<link rel="alternate" type="application/rss+xml" title="Django Bookmarks | Recent Bookmarks" href="/feeds/recent/" />
{% endblock %}

{% block content %}
  {% if user.username %}
    <p>Hi {{ user.username }}!
      Here you can store and share bookmarks!</p>
  {% else %}
    <p>Welcome anonymous user!
      You need to <a href="/login/">login</a>
      before you can store and share bookmarks.</p>
  {% endif %}

<h2>Bookmarks Shared by Users</h2>
  {% include 'shared_bookmark_list.html' %}

{% endblock %}>